home *** CD-ROM | disk | FTP | other *** search
/ MacTech 1 to 12 / MacTech-vol-1-12.toast / Source / MacTech® Magazine / Volume 11 - 1995 / 11.11 Nov 95 / ODF Beeper / Include / BeeperSel.h < prev   
Encoding:
Text File  |  1995-09-26  |  2.0 KB  |  79 lines  |  [TEXT/MPS ]

  1. //==========================================================
  2. //
  3. //    File:                BeeperSel.h
  4. //    Release Version:    $ 1.0d9 $
  5. //
  6. //    Author:                M.Boetcher
  7. //
  8. //    Copyright:    © 1993, 1995 by Apple Computer, Inc., all rights reserved.
  9. //
  10. //==========================================================
  11.  
  12. #ifndef BEEPERSEL_H
  13. #define BEEPERSEL_H
  14.  
  15. // ----- FrameWork Includes -----
  16.  
  17. #ifndef FWSELECT_H
  18. #include "FWSelect.h"
  19. #endif
  20.  
  21. //==========================================================
  22. //    Forward Declarations
  23. //==========================================================
  24.  
  25. #if FW_LIB_EXPORT_PRAGMAS
  26. #pragma import on
  27. #endif
  28. class FW_CLASS_ATTR FW_CCloneInfo;
  29. #if FW_LIB_EXPORT_PRAGMAS
  30. #pragma import off
  31. #endif
  32.  
  33. class FW_CLASS_ATTR CBeeperPart;
  34.  
  35. //==========================================================
  36. //    class CBeeperSelection
  37. //==========================================================
  38.  
  39. class FW_CLASS_ATTR CBeeperSelection : public FW_CSelection
  40. {
  41. //----------------------------------------------------------
  42. //    Initialization/Destruction
  43. //
  44. public:
  45.     CBeeperSelection(Environment* ev,
  46.                      CBeeperPart* beeperPart);
  47.     virtual ~CBeeperSelection();
  48.     
  49. //----------------------------------------------------------
  50. //    Inherited API
  51. //
  52. public:
  53.     virtual void CloseSelection(Environment* ev);
  54.     virtual FW_Boolean ClearSelection(Environment* ev, 
  55.                             FW_ClearSelection clearAfter);
  56.     virtual FW_Boolean IsEmpty(Environment* ev) const;
  57.     virtual void SelectAll(Environment* ev);
  58.  
  59.     virtual void DoExternalizeSelection(Environment* ev, 
  60.                                ODStorageUnit* storage, 
  61.                                FW_CCloneInfo* cloneInfo);
  62.  
  63.     virtual FW_Boolean DoInternalizeSelection(Environment* ev, 
  64.                                ODStorageUnit* storage, 
  65.                                FW_CCloneInfo* cloneInfo);
  66.                         
  67. //----------------------------------------------------------
  68. //    Data Members
  69. //
  70. private:
  71.     CBeeperPart* fBeeperPart;
  72. };
  73.  
  74. //==========================================================
  75. //    CBeeperSelection Inlines
  76. //==========================================================
  77.  
  78.  
  79. #endif